package com.boss.service;

import com.boss.entity.JobOffers;

import java.util.List;

public interface JobOffersService {
    /**
     * 添加一个职位.
     * @param jobOffers 职位对象
     * @return 返回是否添加成功.
     */
    Integer addJobOffers(JobOffers jobOffers);

    /**
     * 职位详细信息
     * @return
     */
    List<JobOffers> getJobOffers();

    /**
     * 审核通过
     * @param id
     * @return
     */
    Boolean updJobOffers(JobOffers jobOffers);

    /**
     * 审核失败原因
     * @param jobOffers
     * @return
     */
    boolean auditFailure(JobOffers jobOffers);
}
